package com.sxbbc.common.core.entity.banks;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 产品类型表
 * </p>
 *
 * @author
 * @since 2020-09-04
 */
@TableName("sys_product_type")
public class SysProductType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品名
     */
    private String prodName;

    /**
     * 产品类型编码
     */
    private String prodCode;

    /**
     * 状态（0停用 1启用）
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 类型等级（A大类 B小类 C细类）
     */
    private String typeGrade;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }
    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getTypeGrade() {
        return typeGrade;
    }

    public void setTypeGrade(String typeGrade) {
        this.typeGrade = typeGrade;
    }

    @Override
    public String toString() {
        return "SysProductType{" +
        "id=" + id +
        ", prodName=" + prodName +
        ", prodCode=" + prodCode +
        ", status=" + status +
        ", createTime=" + createTime +
        ", typeGrade=" + typeGrade +
        "}";
    }
}
